home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / cli / CLI_Tools.lha / Tackon.doc < prev   
Text File  |  1995-02-03  |  912b  |  53 lines

  1.  
  2.  
  3.     NAME
  4.     Tackon
  5.  
  6.     SYNOPSIS
  7.     Tackon - join path, filename and suffix - Requires v37
  8.  
  9.     FUNCTION
  10.     Tackon gets a filename and perhaps a pathname and a
  11.     suffix and creates a new filename out of them.
  12.  
  13.     To add correctly filename to pathname we use AmigaDOS.
  14.  
  15.     If the suffix starts with a "." or "_", it is directly
  16.     appended to the full filename;
  17.     if suffix starts with an alphanumeric char,
  18.     a "." is prepended.
  19.  
  20.     The resulting string is sent to STDOUT
  21.  
  22.     INPUTS
  23.     PATH,NAME/A,SUFFIX
  24.  
  25.     RESULT
  26.     a filename created with the inputs.
  27.  
  28.     NOTES
  29.     CLI - only
  30.  
  31.     should compile with DICE or SAS-C
  32.  
  33.     BUGS
  34.     * there is no check, if suffix is itself a path
  35.     * the resulting filename must not be bigger than 999 chars
  36.  
  37.     SEE ALSO
  38.     dos.library/AddPart
  39.  
  40.     EXAMPLES
  41.     >Tackon x: a:b _c
  42.     a:b_c
  43.  
  44.     >Tackon x:a b c
  45.     x:a/b.c
  46.  
  47.     AUTHOR
  48.     Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
  49.     noll@student.uni-kl.de
  50.  
  51.  
  52.  
  53.